/* 模拟从服务器获取数据 */
const queryData = () => {
    return new Promise(resolve => {
        setTimeout(() => {
            resolve({
                code: 0,
                list: [10, 20, 30, 40]
            });
        }, 1000);
    });
};

export default {
    queryData
};